package io.sage.modules.sys.dao;

import io.sage.modules.exam.entity.Examination;
import io.sage.modules.sys.entity.SysRotationchart;
import io.sage.modules.sys.entity.SysRotationchartExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.plugins.Page;

public interface SysRotationchartMapper {
    int countByExample(SysRotationchartExample example);

    int deleteByExample(SysRotationchartExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SysRotationchart record);

    int insertSelective(SysRotationchart record);

    List<SysRotationchart> selectByExample(SysRotationchartExample example);

    SysRotationchart selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SysRotationchart record, @Param("example") SysRotationchartExample example);

    int updateByExample(@Param("record") SysRotationchart record, @Param("example") SysRotationchartExample example);

    int updateByPrimaryKeySelective(SysRotationchart record);

    int updateByPrimaryKey(SysRotationchart record);

	List<Examination> selectRotationchartList(Page<Examination> page, Map<String, Object> params);
	
	/**
	 * 查看所有的轮播图  使用pageHaper分页
	 * @param params
	 * @return
	 */
	List<SysRotationchart> selectRotationchartList(Map<String, Object> params);
}